{include file="base/publicView"}
<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
      <div class="page_title">
       <h2 class="fl">产品列表</h2>
       <a href="{:url('/admin/product/productadd')}" class="fr top_rt_btn add_icon">添加新品</a>
      </div>
      <!-- <section class="mtb">
       <select class="select">
        <option>会员等级</option>
        <option>普通会员</option>
        <option>高级会员</option>
       </select>
       <input type="text" class="textbox textbox_225" placeholder="输入会员号/手机/电子邮件查询..."/>
       <input type="button" value="查询" class="group_btn"/>
      </section> -->
      <table class="table">
       <tr>
        <th>编码</th>
        <th>产品标题</th>
        <th>产品描述</th>
        <th>产品价格</th>
        <th>是否为新品</th>
        <th>图片</th>
        <th>操作</th>
       </tr>
	   {foreach $prolist as $v}
			<tr>
			 <td class="center">{$a++}</td>
					<td class="center">{$v.pro_title}</td>
					<td class="center">{$v.pro_des}</td>
					<td class="center">
					  <strong class="rmb_icon">{$v.pro_price}</strong>
					</td>
					<td class="center">{$v.pro_isnew=="1"?'是':'否'}</td>
			 <td class="center"><img src="/upload/{$v.pro_pic}" width="50" height="50"/></td>
			 <td class="center">
			  <a href="{:url('/admin/product/productedit/pid/'.$v['pro_id'])}" title="编辑" class="link_icon">编辑</a>
			  <a href="{:url('/admin/product/productdel/pid/'.$v['pro_id'])}" title="删除" class="link_icon" onclick="return confirm('确定要删除吗？');">删除</a>
			 </td>
			</tr>
	   {/foreach}
       <!-- <tr>
        <td class="center">001</td>
		<td class="center">18300000000</td>
		<td class="center">18300000000</td>
		<td class="center">
         <strong class="rmb_icon">59.00</strong>
        </td>
		<td class="center">deathghost@sina.cn</td>
        <td class="center"><img src="/static/admin/pic/user_002.png" width="50" height="50"/></td>
        <td class="center">
         <a href="user_detail.html" title="编辑" class="link_icon">&#101;</a>
         <a href="#" title="删除" class="link_icon">&#100;</a>
        </td>
       </tr> -->
       
      </table>
	  {$pro->render()|raw}
      <!-- <aside class="paging">
       <a>第一页</a>
       <a>1</a>
       <a>2</a>
       <a>3</a>
       <a>…</a>
       <a>1004</a>
       <a>最后一页</a>
      </aside> -->
 </div>
</section>
</body>
</html>
<!--
本代码由js代码网网友上传，js代码网收集并编辑整理;
尊重他人劳动成果;
转载请保留js代码链接 - www.jsdaima.com
-->